package collect.taobao.service.impl;
import collect.taobao.service.ImageStreamService;
import collect.taobao.bean.ImageStreamBean;
import collect.taobao.dao.ImageStreamDao;


import java.util.List;

public class ImageStreamServiceImpl implements ImageStreamService{
	
	private ImageStreamDao imageStreamDao;
	
	public ImageStreamServiceImpl() {
		super();
	}

	public int delete(ImageStreamBean imageStreamBean) {
		return imageStreamDao.delete(imageStreamBean);
	}

	public ImageStreamBean query(String id) {
		return imageStreamDao.query(id);
	}

	public List queryList() {
		return imageStreamDao.queryList();
	}

	public int save(ImageStreamBean imageStreamBean) {
		return imageStreamDao.save(imageStreamBean);
	}

	public int update(ImageStreamBean imageStreamBean) {
		return imageStreamDao.update(imageStreamBean);
	}

	public void setImageStreamDao(ImageStreamDao imageStreamDao) {
		this.imageStreamDao = imageStreamDao;
	}
	

}
